package service.impl;

import service.Button;

/**
 * Linux风格按钮 - 扩展产品
 */
public class LinuxButton implements Button {
    private String text;
    
    @Override
    public void render() {
        System.out.println("渲染Linux风格按钮: " + text);
        System.out.println("  - 简单边框");
        System.out.println("  - 单色背景");
        System.out.println("  - 开源字体");
    }
    
    @Override
    public void onClick() {
        System.out.println("Linux按钮被点击: 简洁响应");
    }
    
    @Override
    public void setText(String text) {
        this.text = text;
    }
}